<template>
    <div class="statement">
        <ToolBar :names="names"></ToolBar>
        <div class="content" v-html="info"></div>
    </div>
</template>

<script>
    import ToolBar from "../Home/ToolBar";
    export default {
        name: "statement",
        components: {ToolBar},
        data(){
            return {
                names:'AIBinance服务声明',
                info:{},
                type:83
            }
        },
        mounted(){
            let data = {
                token: this.getCookie("token"),
                type:this.type
            }
            this.$api.home.GetStatement(data).then(res=> {
                // 执行某些操作
                this.info = res.data.data


            })

        },
    }
</script>

<style scoped>
    .content{
        position: absolute;
        top: 3rem;
        left: 0;
        right: 0;
        bottom: 0;
        background: #fff;
        padding: 1rem;
    }
</style>